package com.lezhi.socialgram.mapper.moments;

import com.lezhi.socialgram.model.moments.Comment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by daizhen on 2017/4/25.
 */
@Mapper
public interface CommentMapper {

    int createCommentTable(@Param("table") String table);

    int insertComment(Comment comment);

    List<Comment> queryComment(Comment comment);
}
